home *** CD-ROM | disk | FTP | other *** search
- ********** Depprint COMMAND FILE **********
- * Prints valid deposits in the Getdep file as part of the Deposits file.
- ************************************************************************
- *
- SET PRINT ON
- GO TOP
- T_Sum = 0
- DO WHILE .NOT. EOF()
- EJECT
- T_Count = 0
- ? ' DATE PAID BY AMOUNT INV # COMMENTS:'
- ?
- DO WHILE .NOT. EOF() .AND. T_Count < 45
- IF .NOT. DELETED()
- ? Dep_Date,Payer,Deposit,Inv_Nmbr,Comments
- T_Sum = T_Sum + Deposit
- T_Count = T_Count + 1
- ENDIF
- SKIP
- ENDDO
- ENDDO
- ?
- ? ' The total deposit is ' + STR(T_Sum,9,2)
- ?
- ? ' The final balance is ' + STR(Mbalance,9,2)
- ?
- SET PRINT OFF
- *
- RETURN